package cn.xinfei.xdecision.common.model.component.folder.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * Created by maying on 2023/03/21.
 **/
@Data
public class FolderRenameReqVo {

	@ApiModelProperty(value = "目录名称", example = "目录一",required = true)
	@NotEmpty(message = "目录名称不能为空")
	private String name;

	@ApiModelProperty(value = "文件夹id", example = "1",required = true)
	@NotNull(message = "id不能为空")
	private Long id;

}
